package com.example.entity.yifei;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("CallCenterConfiguration")
@ApiModel("故障信息表")
@Accessors(chain = true)
public class CallCenterConfiguration {

    @TableId(type = IdType.AUTO)
    private Integer uuid;

    @ApiModelProperty("A:白班  B:夜班")
    @TableField("class")
    private String duty;

    @ApiModelProperty("工作中心id")
    private String workCenterId;

    @ApiModelProperty("绑定类型\n" +
            "workbench -> 以精确到机台为准\n" +
            "workCenter -> 以工作中心为准\n" +
            "district -> 以预设的片区为准")
    private String decisionType;

    @ApiModelProperty("片区ID，仅 decisionType 的值为片区才需要填写")
    private String districtId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private String creatorTime;

    @ApiModelProperty("修改人")
    private String modifier;

    @ApiModelProperty("修改时间")
    private String modifierTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态 0 -> 关闭 1 -> 启用 2 ->删除")
    private String status;

    @ApiModelProperty("机台ID")
    private String workbenchId;

    @ApiModelProperty("故障类型")
    private String faultType;
}
